﻿using System;
using System.Collections;
using Huirui.Cavan.Presentation.Seedwork;
using Huirui.Cavan.Domain.MainBoundedContext.PurchaseModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

namespace Huirui.Cavan.Presentation.ViewModel.PurchaseModule
{
	#region PurchaseReturn

    public class PurchaseReturnViewModel : EntityModel<PurchaseReturn, string, PurchaseReturnSearch>, IPurchaseReturnViewModel
	{
        public PurchaseSearch PurchaseSearch { get; set; }
        public string Purchases { get; set; }
        public string StockInOutDetails { get; set; }
	}

    public class PurchaseReturnJson : BaseJson<string>
    {
        public string Currency { get; set; }
        public decimal CurrencyRate { get; set; }
        public string Remark { get; set; }
        public string EmployeeCode { get; set; }
        public string EmployeeName { get; set; }
        public string SupplierCode { get; set; }
        public string SupplierName { get; set; }
        public string ReturnDate { get; set; }
        public decimal Amount { get; set; }
        public string Producer { get; set; }
    }

    public class PurchaseReturnJsonViewModel : JsonViewModel<PurchaseReturnJson>
    {

    }
	#endregion
}